<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<title>amCharts example</title>
	</head>

	<body style="background-color:#EEEEEE">
		<!-- saved from url=(0013)about:internet -->
		<!-- amcharts script-->
		<!-- swf object (version 2.2) is used to detect if flash is installed and include swf in the page -->
		<script type="text/javascript" src="../../../../amcharts/flash/swfobject.js"></script>

		<!-- following scripts required for JavaScript version. The order is important! -->
		<script type="text/javascript" src="../../../../amcharts/javascript/amcharts.js"></script>
		<script type="text/javascript" src="../../../../amcharts/javascript/amfallback.js"></script>
		<script type="text/javascript" src="../../../../amcharts/javascript/raphael.js"></script>

        <!-- chart is placed in this div. if you have more than one chart on a page, give unique id for each div -->
		<div id="chartdiv" style="width:520px; height:400px; background-color:#000000""></div>

	    <script type="text/javascript">

            var params = {
                bgcolor:"#000000"
                };

		    var flashVars = {
		        path: "../../../../amcharts/flash/",
		        settings_file: "settings.xml",
		        data_file: "data.txt"
			};

			// change 8 to 80 to test javascript version
            if (swfobject.hasFlashPlayerVersion("8")){
	    		swfobject.embedSWF("../../../../amcharts/flash/amcolumn.swf", "chartdiv", "520", "400", "8.0.0", "../../../../amcharts/flash/expressInstall.swf", flashVars, params);
	    	}
			else{
			    // Note, as this example loads external data, JavaScript version might only work on server
				var amFallback = new AmCharts.AmFallback();
				amFallback.pathToImages = "../../../../amcharts/javascript/images/";
				amFallback.settingsFile = flashVars.settings_file;
				amFallback.dataFile = flashVars.data_file;				
				amFallback.type = "column";
				amFallback.path = "../../../../amcharts/flash/";
				amFallback.write("chartdiv");
			}

		</script>
	</body>
</html>
